<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:rich="http://richfaces.org/rich">
    
	
			<h:form id="menuForm">
			<table cellpadding="0" cellspacing="0" width="100%" style="padding-right: 5px;">
				<tr>
					<td align="left">
						<table cellpadding="0" cellspacing="0">
							<tr>
								<td style="background-image: url('../images/lt_round_convas.gif');" width="80" height="60"><a4j:include viewId="menu.xhtml" /></td>
								<td style="background-image: url('../images/rt_line.gif');" valign="bottom">
									<table cellpadding="0" cellspacing="0" border="0">
										<tr>
											<td width="180" valign="bottom">
												<h:inputText  style="width: 160px; height: 18px; margin-bottom: 2px; background-color: #f2f7ff;" id="suggestion_menu_item" />
												    <rich:suggestionbox  nothingLabel="No Items found" id="mm" for="suggestion_menu_item"  minChars="1" requestDelay="0"  frequency="0" height="100" width="160" selfRendered="true" suggestionAction="#{menuManager.loadMenuItems}" var="m">
												      
												          <rich:column>
												              <a4j:commandLink action="#{m.pageUrl}"  style="color:black;text-decoration:none">
												                 #{m.label}
												              </a4j:commandLink>
												          </rich:column>
												          <a4j:support event="onselect" reRender="mainFrame" action="#{menuManager.setPageUrl(m.pageUrl)}"  styleClass="menuLink"/>    
												       
												    </rich:suggestionbox>
												
											</td>
											<td width="7"><img src="../images/delimiter.gif" /></td>
											<td valign="bottom">
												<s:div id="pageTitle" styleClass="pageTitle">
													<table>	
														<tr>
															<td align="left" class="nowrap">
																
															</td>
															<td>
																<img style="cursor: pointer; padding-left: 8px;"  src="../images/reload_icon.gif" />
															</td>
														</tr>
													</table>
												</s:div>
											</td>
										</tr>
									</table>						
								</td>
								<td style="background-image: url('../images/rt_corner.gif');" width="21"></td>								
							</tr>
						</table>			
					</td>
					<td align="right" valign="top">
						<table>
							<tr>
								<td colspan="3" align="right">
									<span class="links2 nowrap">
									    
										<span style="color: #c3d4ee; font-size: 12px;">#{messages['user']}:</span><rich:spacer width="2" /><h:outputText value="#{userSession.currentUser.login}"/>
										<rich:spacer width="3" />
										|
										<rich:spacer width="3" />
										<a4j:commandLink onclick="blockIframe()" oncomplete="unblockIframe()" action="#{menuManager.setPageUrl('userProfile.seam')}" value="Profile" style="text-decoration: none; color: #2d3976;" reRender="mainFrame">
										   
										</a4j:commandLink>
										<rich:spacer width="3" />
										|
										<rich:spacer width="3" />
										
										<a href="/fina-dcs-wp/security/logout"   style="text-decoration: none; color: #2d3976;">Log out</a>
									</span>
								</td>
							</tr>
							<tr>
								<td height="25" align="right" valign="bottom" width="150"><img src="../images/ajax-loader-small.gif" id="ajaxLoaderSmall"/></td>
								<td height="25" align="right" valign="bottom" width="241"><img src="../images/management_console.gif" /></td>
								<td height="25" align="right" valign="bottom" width="23"><div id="version" style="text-align: right; color: #c3d4ee; font-size: 12px;">v1.0.0</div></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			
			</h:form>
	

</html>